extracting file path from fileName command

Hey I am a new dxl user

I want to export the data to excel and let the user decide where to save the excel sheet.

The function I am using is fileName which in a dialog box asks user to browse the folder where he want to save the file.

How can I get this file path entered by user in a variable??
like I am using

DBE fn = fileName(ABC, "INPUT.xls","", "Excel file")

Now is there any way to extract the file path entered by user and store it in a variable so that I can use it as the file name to store data??
archit12 - Wed Jun 27 11:36:37 EDT 2012

Re: extracting file path from fileName command
mcnairk - Wed Jun 27 11:49:48 EDT 2012

string ObjId, Text
Skip skpObjects = createString()  // KEY 'string' ObjId; DATA 'Object' handle
 
for obj in entire mod do
{  if (isDeleted(obj))   continue
   put(skpObjects, identifier(obj), obj)
}
for obj in skpObjects do
{  ObjId = (string key skpObjects)
   Text = richTextWithOle(obj, "Object Text")
   ...
}
delete(skpObjects)

 


Ken

 

Re: extracting file path from fileName command
archit12 - Thu Jun 28 06:41:50 EDT 2012

mcnairk - Wed Jun 27 11:49:48 EDT 2012

string ObjId, Text
Skip skpObjects = createString()  // KEY 'string' ObjId; DATA 'Object' handle
 
for obj in entire mod do
{  if (isDeleted(obj))   continue
   put(skpObjects, identifier(obj), obj)
}
for obj in skpObjects do
{  ObjId = (string key skpObjects)
   Text = richTextWithOle(obj, "Object Text")
   ...
}
delete(skpObjects)

 


Ken

 

thanks a lot